<html>
    <meta charset="utf-8"/>
    <head>
        <title>已面试信息</title>
        <!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
        <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css" integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous">
    </head>
    <body style="text-align:center;">
        <table border="1" class="table table-striped">
            <tr>
                <th>序号</th>
                <th>学生姓名</th>
                <th>公司名称</th>
                <th>面试时间</th>
                <th>面试重点</th>
            </tr>
            <?php
                include('huihua.php');
                echo  '<h1 style="text-align:center;">';
                echo "所有面试单位统计表";
                echo "</h1>";
                //var_dump(empty($_SESSION[name]));
                include('db-conn.php');
                $c_list="select * from jiuye.company;";
                //mysqli_query($conn,$c_list));
                // for($i = 1;$i<=@mysqli_num_rows(mysqli_query($conn,$c_list)); $i++){
                   $result=mysqli_query($conn,$c_list);
                  while($row = mysqli_fetch_assoc($result)){
                    echo "<tr>";
                        foreach($row as $key => $value){ 
                            echo "<td>$value</td>"; 
                        }
                    echo "</tr>";
                    
                }   
            ?>
            
        </table>
        
    </body>
</html>